package com.daichi.service;

import com.daichi.common.dto.SysMenuDto;
import com.daichi.common.lang.Result;
import com.daichi.entity.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.daichi.entity.SysUser;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Daichi Chou
 * @since 2021-06-05
 */
public interface SysMenuService extends IService<SysMenu> {

    List<SysMenuDto> getUserNav(SysUser sysUser);

    List<SysMenu> getTreeList();

    void clearTreeList();

    Result deleteById(Long id);
}
